/*
 * NewCodeDb.h
 *
 *  Created on: 27 Apr 2010
 *      Author: Vastsor
 *      version 01
 */

#ifndef OLDCODEDB_H_
#define OLDCODEDB_H_
#include "../../OdbcConnectionSingleton/OdbcConnectionSingleton.h"

#include "../../../Other/ConvertTypes/ConvertType.h"
#include "../IStudentCodeStrategyDb.h"

class OldCodeDb:public IStudentCodeStrategyDb {
public:
	OldCodeDb();

	OldCodeDb(const string *dbName, const string *user, const string *passwd);
	virtual ~OldCodeDb();
	/**
	 * Insert a new Student aem
	 * @param aem Student's aem
	 * @return pointer to string ,if NN returns new aem
	 */
	virtual string *saveCode(const string *aem) const;
protected:

};

#endif /* NEWCODEDB_H_ */
